<!DOCTYPE HTML>
<html  lang="zh" xmlns:th="http://www.thymeleaf.org">
<meta charset="utf-8">
<head th:include="include :: header"></head>
<body class="white-bg">
    <div class="wrapper wrapper-content animated fadeInRight ibox-content">
        <form class="form-horizontal m" id="form-zhikong-add">
			<div class="form-group">	
				<label class="col-sm-3 control-label">病人姓名：</label>
				<div class="col-sm-8">
					<input id="bingrenId" name="bingrenId" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">主治医生：</label>
				<div class="col-sm-8">
					<input id="zhiliaoyishengId" name="zhiliaoyishengId" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">疾病名称：</label>
				<div class="col-sm-8">
					<input id="icdCode" name="icdCode" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">是否合格：</label>
				<div class="col-sm-8">
					<input id="shYesOnNo" name="shYesOnNo" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">不合格原因：</label>
				<div class="col-sm-8">
					<input id="noNeirong" name="noNeirong" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">质控时间：</label>
				<div class="col-sm-8">
					<input id="zhikongDate" name="zhikongDate" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">质控人：</label>
				<div class="col-sm-8">
					<input id="zhikongRen" name="zhikongRen" class="form-control" type="text">
				</div>
			</div>
		</form>
	</div>
    <div th:include="include::footer"></div>
    <script type="text/javascript">
		var prefix = ctx + "module/zhikong"
		$("#form-zhikong-add").validate({
			rules:{
				xxxx:{
					required:true,
				},
			}
		});
		
		function submitHandler() {
	        if ($.validate.form()) {
	            $.operate.save(prefix + "/add", $('#form-zhikong-add').serialize());
	        }
	    }
	</script>
</body>
</html>
